How to process data from api response then return a boolean value synchronously in angular

join shbcf.ru